Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Align gate in QASM #1481

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft

Conversation

BrunoLiegiBastonLiegi
Copy link
Contributor

This adds support for the Align gate to the qasm parser and should close #1478. However, this implementation is not compatible with qiskit which begs for defining the delay gate (their equivalent to our align) as a special operation:

OPENQASM 2.0;
include "qelib1.inc";
opaque delay(param0) q0;
qreg q[1];
delay(1.0) q[0];

Checklist:

  • Reviewers confirm new code works as expected.
  • Tests are passing.
  • Coverage does not decrease.
  • Documentation is updated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Align is not supported by OpenQASM
1 participant